/*
 * @Description:  取消结算接口
 * @Autor: 何兴家
 * @Date: 2021-01-14 19:33:53
 * @LastEditors: 何兴家
 * @LastEditTime: 2021-01-15 17:00:12
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询结算单列表
export const queryCancelSettlement = params => axios.get(`${SERVER.DMSCLOUD_FINANCE}/basedata/cancelSettlement/queryCancelSettlement`, { params });

// 查询工单结算明细
export const queryCancelSettlementRepairOrderDetail = params => axios.get(`${SERVER.DMSCLOUD_FINANCE}/basedata/cancelSettlement/queryCancelSettlementRepairOrderDetail`, { params });

// 查询配件销售单结算明细
export const queryCancelSettlementPartRepairOrderDetail = params => axios.get(`${SERVER.DMSCLOUD_FINANCE}/basedata/cancelSettlement/queryCancelSettlementPartRepairOrderDetail`, { params });

// 取消结算接口
export const cancelBalanceAccounts = params => axios.post(`${SERVER.DMSCLOUD_FINANCE}/basedata/cancelSettlement/cancelBalanceAccounts`, params);
